<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>安全生命防护工程--${fns:getConfig('productName')}</title>
<script type="text/javascript" src="${ctx}/scripts/appconfig.jsp" charset="utf-8" ></script>
<%@include file="/common/head.jsp"%>
<%@include file="/common/uihead.jsp" %>
<%@include file="/common/upload.jsp" %>
 <link rel="stylesheet" href="${ctx}/styles/css/jquery.mloading.css">
 <script src="${ctxStatic}/js/afgc/lifeCherish.js" type="text/javascript"></script>
<script src="${ctx}/js/jquery.mloading.js"></script>
<link rel="stylesheet" href="${ctxStatic}/stepBar/control.css" type="text/css" />

<link rel="stylesheet" type="text/css" href="${ctxStatic}/step/css/onlinebusinesshall/newexpand/css/index-debug.css">
<link rel="stylesheet" type="text/css" href="${ctxStatic}/step/css/index.css">
<style type="text/css">
html,body{
	overflow:auto;
}
.file-actions {
    margin-top: 14px;
}
.kv-file-upload{
	display:none;
}
.modal.fade.in {
    top: 18%;
}
.file-zoom-dialog.modal.fade.in,#publicModal.modal.fade.in{
	top:6%;
}
#publicModal.modal.fade.in{
	left:29%;
}
#result.modal.fade.in{
	top:35%;
	left:50%;
}
.jbox-body *{
z-index:9999 !important;
}
.upFile{
 float:left;
 margin-left:35px;
}
.intro-list-right button{
	float:left;
	margin-left:40px;
}
.ui-jqgrid tr.jqgfirstrow td {
    padding: 0 2px 0 1px;
}
select, textarea, input[type="text"]{
		padding:0 0 0 10px !important;
	}
</style>
<script type="text/javascript">
$("#ifr").load(function(){
	var height = $(this).contents().find("body").height();
});

$(document).ready(function(){
	var id = getQueryString("id");
	var url =  "${ctx}/lifeProject/show.do";
	var roleType = ${roleType};
	updateProject(id, url, roleType);
});

</script>
</head>
<body>
	<input type='hidden' name="" id="userRole" value="${roleType}">
	<form id="publicForm" name="publicForm">
	   <input type="hidden" name="id" id="id" value="">
	   <input type="hidden" name="tag" id="tag" value="${tag}">
	   <input type="hidden" name="delStatus" id="delStatus" value="">
	   <input type='hidden' name="currentStatus" id="currentStatus" value="">
	   <input type='hidden' name="refuseStatus" id="refuseStatus" value="">
<!-- <div class="modal fade" id="publicModal" tabindex="-1" role="dialog" aria-labelledby="publicModal" aria-hidden="true" data-backdrop="static" style="width:1200px;max-height:700px;"> -->
			<div class="modal-dialog">
				<div class="modal-content">
					<div class="modal-body" style="max-height:10000px;" id='publicBody'>
						<div id="stepBar" class="ui-stepBar-wrap">
							<div class="ui-stepBar">
								<div class="ui-stepProcess"></div>
							</div>
							<div class="ui-stepInfo-wrap">
								<table class="ui-stepLayout" border="0" cellpadding="0" cellspacing="0">
									<tr>
										<td class="ui-stepInfo">
											<a class="ui-stepSequence">1</a>
											<p class="ui-stepName">未处置</p>
										</td>
										<td class="ui-stepInfo">
											<a class="ui-stepSequence">2</a>
											<p class="ui-stepName">实施计划</p>
										</td>
										<td class="ui-stepInfo">
											<a class="ui-stepSequence">3</a>
											<p class="ui-stepName">工程设计</p>
										</td>
										<td class="ui-stepInfo">
											<a class="ui-stepSequence">4</a>
											<p class="ui-stepName">工程实施</p>
										</td>
										<td class="ui-stepInfo">
											<a class="ui-stepSequence">5</a>
											<p class="ui-stepName">工程验收</p>
										</td>
										<td class="ui-stepInfo">
											<a class="ui-stepSequence">6</a>
											<p class="ui-stepName">工程评论</p>
										</td>
									</tr>
								</table>
								
							</div>
						</div>
						<h4 style="margin-top:10px;">处置措施:</h4>
						<hr>
						<table class="table"  style="border: none;margin-bottom: -14px">
							<tbody>
								<tr>
									<td>涉及路线参数调整的土建工程:</td>
									<td>
										<pt:code name="involvingProject" category="1002" hasEmpty="false" default=""></pt:code>
									</td>
									<td>路域环境整治:</td>
									<td>
										<pt:code name="roadEnvironment" category="1002" hasEmpty="false" default=""></pt:code>
									</td>
									<td >标志线处置:</td>
									<td >
										<pt:code name="markLineDisposal" category="1002" hasEmpty="false" default=""></pt:code>
									</td>
								</tr>
								<tr>
									<td >交叉口综合处置:</td>
									<td >
										<pt:code name="comprehensive" category="1002" hasEmpty="false" default=""></pt:code>
									</td>
									<td >加装护栏:</td>
									<td >
										<pt:code name="installingGuardrail" category="1002" hasEmpty="false" default=""></pt:code>
									</td>
									<td >警示诱导设施处置:</td>
									<td>
										<pt:code name="inducedDisposal" category="1002" hasEmpty="false" default=""></pt:code>
									</td>
								</tr>
								<tr>
									<td >其　　他:</td>
									<td colspan="5">
										<div class="wordCount wyInline" id="wordCount" >
											<textarea placeholder="其他处置措施" rows='1' id="otherMeasures" style="height:40px;"
												name="otherMeasures"></textarea>
												<input type='hidden' name='remark' id='remark' value=''/>
											<span class="wordwrap"><var class="word">200</var>/200</span>
										</div>
									</td>
								</tr>
								<tr id="contentTr" style="display:none">
									<td >工程评价:</td>
									<td colspan="5">
										<div class="wordCount wyInline" id="contentWord" >
											<textarea placeholder="" rows='1' id="content" style="height:40px;"
												name="content"></textarea>
											<span class="wordwrap"><var class="word">2000</var>/2000</span>
										</div>
									</td>
								</tr>
								<tr >
									<td >操作记录:</td>
									<td colspan="5">
										<div id='operate'>
											
										</div>
									</td>
								</tr>
							</tbody>
						</table>

						<div style="width:100%;border:1px solid #ccc;margin-top:15px;">
							<iframe frameborder=0 width=100% width=100%  id="ifr" src=""></iframe>
						</div>
					</div>
					<div class="modal-footer" style="padding:4px 15px 5px;">
<!-- 						<button type="button" class="btn btn-default" data-dismiss="close">关闭</button> -->
						<button type="button" class="btn btn-primary" id="subPublic" onclick="projectSubmit('${ctx}/lifeProject/save.do','${roleType}');" >下一步</button>
						<button type="button" class="btn btn-primary" id="subApply" onclick="apply('${ctx}/lifeProject/save.do','${roleType}');"  style="display:none">申请验收</button>
						<button type="button" class="btn btn-primary" id="subAgree" onclick="agree('${ctx}/lifeProject/save.do','${roleType}');"  style="display:none">同意验收</button>
						<button type="button" class="btn btn-primary" id="subRefuse" onclick="refuse('${ctx}/lifeProject/save.do','${roleType}');" style="display:none" >拒绝验收</button>
					</div>
				</div>
				<!-- /.modal-content -->
			</div>
			<!-- /.modal -->
<!-- 		</div> -->
</form>

<script type="text/javascript">
		var delStatus = getQueryString("delStatus");
		var roleType = ${roleType};
</script>
<script src="${ctxStatic}/stepBar/stepBar.js" type="text/javascript"></script>
</body>
</html>